//
//  haViewController.h
//  XYPieChart
//
//  Created by Mac on 15/10/7.
//  Copyright © 2015年 Xiaoyang Feng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XYPieChart.h"

@interface XYViewController : UIViewController<XYPieChartDelegate, XYPieChartDataSource>

@property (strong, nonatomic) XYPieChart *pieChartRight;
@property (strong, nonatomic)  UILabel *percentageLabel;
@property (strong, nonatomic)  UILabel *selectedSliceLabel;
@property (strong, nonatomic)  UITextField *numOfSlices;
@property (strong, nonatomic)  UISegmentedControl *indexOfSlices;
@property (strong, nonatomic)  UIButton *downArrow;
@property(nonatomic, strong) NSMutableArray *slices;
@property(nonatomic, strong) NSArray        *sliceColors;
@property(nonatomic, assign) NSNumber  *sum,*smalll;

@end
